<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page import="hibernate.VGlUserinfo"%>
<%@ page import="com.ctctc.business.BusinessConfiguration"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="c" uri="commontaglib"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%
	String path = request.getContextPath();
	java.text.SimpleDateFormat formatter = new java.text.SimpleDateFormat(
			"yyyy-MM-dd");

	java.util.Date currentTime = new java.util.Date();//得到当前系统时间

	String curdate = formatter.format(currentTime); //将日期时间格式化
	VGlUserinfo user = (VGlUserinfo) session
			.getAttribute(BusinessConfiguration.SESSION_USERNAME);
	String ismy = user.getIsmy();
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<link rel="stylesheet" href="<%=path%>/css/innerstyle.css"	type="text/css" />
<link rel="stylesheet" type="text/css" media="screen"	href="<%=path%>/css/custom-theme/jquery-ui.custom.min.css" />
<script type='text/javascript' src='/glqt/dwr/util.js'></script>
<script type='text/javascript' src='/glqt/dwr/engine.js'></script>
<script type='text/javascript' src='/glqt/dwr/interface/htdwr.js'></script>
<script type='text/javascript' src='/glqt/dwr/interface/jydz.js'></script>
<script type="text/javascript" src="<%=path%>/js/jquery-1.7.2.min.js"></script>
<script type="text/javascript"	src="<%=path%>/js/jquery-ui.custom.min.js"></script>
<script type="text/javascript"	src="<%=path%>/js/i18n/jquery.ui.datepicker-zh-CN.js"></script>
<script type="text/javascript" src="<%=path%>/js/jquery.form.js"></script>
<script type="text/javascript" src="<%=path%>/js/json2.js"></script>
<script type="text/javascript" src="<%=path%>/js/jquery.validate.min.js"></script>
<script type="text/javascript" src="<%=path%>/js/messages_zh.js"></script>
<style type="text/css">
html,body {
	margin: 0;
	padding: 0;
	font-size: 85%;
}

#tab {
	width: 99%;
	border: #F4F4F4 solid 4px;
	padding: 0 2px 3px 2px;
	margin: 10px 0 0 0;
	float: left;
}

#tab h1 {
	display: block;
	width: 95%;
	height: 65px;
	float: center;
	text-align: center;
	padding-top: 20px;
}

#tab h1 span {
	width: 250px;
	font: bold 26px/55px Arial, Helvetica, sans-serif;
	color: #327C8E;
	background-color: #fff;
	display: block;
}

.content1 {
	margin: 0px;
	padding: 0px;
	width: 100%;
	font-size: 12px;
}

.content1 td {
	height: 16px;
	line-height: 16px;
	text-align: left;
	border-top-style: none;
	border-left-style: none;
	border-right-style: none;
	border-bottom-style: none;
}

.textbox {
	width: 90px;
	border: #000 1px solid;
}

.textboxs {
	width: 70px;
	border: #000 1px solid;
}

.longtextbox {
	width: 180px;
	border: #000 1px solid;
}

.shorttextbox {
	width: 50px;
	border: #000 1px solid;
}

.shorttextbox1 {
	width: 50px;
	border: #000 1px solid;
	background-color: #ddd;
}

.textarea {
	overflow: auto;
	border: #000 1px solid;
}

.select  {
	
	display:none;
}

.select div {
	border: 1px solid #000;
	float: left;
}

.select1 div {
	border: 1px solid #000;
	float: left;
}

label {
	display: block;
}

fieldset {
	padding: 0;
	border: 0;
	margin-top: 25px;
}

label.error {
	color: red; /*错误信息的颜色*/
}

input.error {
	border: 1px dotted red; /*输入错误的输入框的边框样式*/
}
</style>
<script type='text/javascript'>
      //var d$ = dwr.util.byId;
       var zlzbdate;
	  var trCount =1;	    
		function changeTab() {		    
		     trCount=Number(trCount); 
		    if(trCount==5) return;
            var dtable = document.getElementById("changdi"); 
            var elTr = dtable.insertRow(-1);            
            var jTd = elTr.insertCell(-1);
            var jzz="<input id=\"shr"+trCount+"\" type=\"text\" name=\"htkz["+trCount+"].shouhdwmc\" class=\"longtextbox\" /><input id=\"shrid"+trCount+"\" type=\"hidden\" name=\"htkz["+trCount+"].shouhdwbm\" />";     
            jTd.innerHTML=jzz;
            var fTd = elTr.insertCell(-1);
            var fw ="<input id=\"fh"+trCount+"\" type=\"text\" name=\"htkz["+trCount+"].fuh\" class=\"shorttextbox\" readonly=\"readonly\" onclick=\"clickPzgg("+trCount+");\"><input type=\"hidden\" id=\"mzbm"+trCount+"\" name=\"htkz["+trCount+"].meizbm\"><input type=\"hidden\" id=\"mzmc"+trCount+"\" name=\"htkz["+trCount+"].meiz\"><input type=\"hidden\" id=\"pzbm"+trCount+"\" name=\"htkz["+trCount+"].pinzbm\"><input type=\"hidden\" id=\"pzmc"+trCount+"\" name=\"htkz["+trCount+"].pinz\">";
            fTd.innerHTML=fw;
            var dTd = elTr.insertCell(-1);
            var dw ="<input id=\"zlzb"+trCount+"\" type=\"text\" class=\"longtextbox\" name=\"htkz["+trCount+"].zhilzb\" /><input type=\"hidden\" id=\"zlzbfz"+trCount+"\" name=\"htkz["+trCount+"].zhilzbfzbm\">";
            dTd.innerHTML=dw;
            var lTd = elTr.insertCell(-1);
            var lw ="<input id=\"jiag"+trCount+"\" type=\"text\" class=\"textbox\" name=\"htkz["+trCount+"].jiag\"  />";
            lTd.innerHTML=lw;
            var aTd = elTr.insertCell(-1);
            var aw ="<input id=\"shul"+trCount+"\" type=\"text\" class=\"shorttextbox\" name=\"htkz["+trCount+"].shul\" onclick=\"txtzjl_onblur("+trCount+");\">";
            aTd.innerHTML=aw;
            var bTd = elTr.insertCell(-1);
            var bw ="<input id=\"jan"+trCount+"\" type=\"text\" class=\"shorttextbox\" name=\"htkz["+trCount+"].gml1\" onclick=\"txtyuesl_onblur("+trCount+");\">";
            bTd.innerHTML=bw;
            var eTd = elTr.insertCell(-1);
            var ew ="<input id=\"feb"+trCount+"\" type=\"text\" class=\"shorttextbox\" name=\"htkz["+trCount+"].gml2\" onclick=\"txtyuesl_onblur("+trCount+");\">";
            eTd.innerHTML=ew;
            var gTd = elTr.insertCell(-1);
            var gw ="<input id=\"mar"+trCount+"\" type=\"text\" class=\"shorttextbox\" name=\"htkz["+trCount+"].gml3\" onclick=\"txtyuesl_onblur("+trCount+");\">";
            gTd.innerHTML=gw;
            var hTd = elTr.insertCell(-1);
            var hw ="<input id=\"apr"+trCount+"\" type=\"text\" class=\"shorttextbox\" name=\"htkz["+trCount+"].gml4\" onclick=\"txtyuesl_onblur("+trCount+");\">";
            hTd.innerHTML=hw;
            var iTd = elTr.insertCell(-1);
            var iw ="<input id=\"may"+trCount+"\" type=\"text\" class=\"shorttextbox\" name=\"htkz["+trCount+"].gml5\" onclick=\"txtyuesl_onblur("+trCount+");\">";
            iTd.innerHTML=iw;
            var kTd = elTr.insertCell(-1);
            var kw ="<input id=\"jun"+trCount+"\" type=\"text\" class=\"shorttextbox\" name=\"htkz["+trCount+"].gml6\" onclick=\"txtyuesl_onblur("+trCount+");\">";
            kTd.innerHTML=kw;
            var mTd = elTr.insertCell(-1);
            var mw ="<input id=\"jul"+trCount+"\" type=\"text\" class=\"shorttextbox\" name=\"htkz["+trCount+"].gml7\" onclick=\"txtyuesl_onblur("+trCount+");\">";
            mTd.innerHTML=mw;
            var nTd = elTr.insertCell(-1);
            var nw ="<input id=\"aug"+trCount+"\" type=\"text\" class=\"shorttextbox\" name=\"htkz["+trCount+"].gml8\" onclick=\"txtyuesl_onblur("+trCount+");\">";
            nTd.innerHTML=nw;
            var oTd = elTr.insertCell(-1);
            var ow ="<input id=\"sep"+trCount+"\" type=\"text\" class=\"shorttextbox\" name=\"htkz["+trCount+"].gml9\" onclick=\"txtyuesl_onblur("+trCount+");\">";
            oTd.innerHTML=ow;
            var pTd = elTr.insertCell(-1);
            var pw ="<input id=\"oct"+trCount+"\" type=\"text\" class=\"shorttextbox\" name=\"htkz["+trCount+"].gml10\" onclick=\"txtyuesl_onblur("+trCount+");\">";
            pTd.innerHTML=pw;
            var qTd = elTr.insertCell(-1);
            var qw ="<input id=\"nov"+trCount+"\" type=\"text\" class=\"shorttextbox\" name=\"htkz["+trCount+"].gml11\" onclick=\"txtyuesl_onblur("+trCount+");\">";
            qTd.innerHTML=qw;            
            var sTd = elTr.insertCell(-1);
            var sw ="<input id=\"dec"+trCount+"\" type=\"text\" class=\"shorttextbox\" name=\"htkz["+trCount+"].gml12\" onclick=\"txtyuesl_onblur("+trCount+");\">";
            sTd.innerHTML=sw;
            var cTd = elTr.insertCell(-1);
            var cw ="<a href=\"#\" onclick=\"delTab(this);\"><img src=\"<%=path%>/images/subtract.gif\" align= \"absmiddle\" height=\"15\"  width=\"15\"></a>";
            cTd.innerHTML=cw;
            
            loadShdwData(trCount);            
            trCount++;
           
		}
    function delTab(obj){
     var dtable = document.getElementById("changdi"); 
     var tr = obj.parentNode.parentNode;
      dtable.deleteRow(tr.rowIndex);
    }
    
    function loadTabForShengshi(vvalue){
    //alert("aaaa");        
        htdwr.findShengFDwr(vvalue,function(data){   
		
		$("#sheng").val(data[1].regioncode);
		changeTabForShsxx(data[1].regioncode,'shi')
        });
              
    }
    
    function loadTabForShsxx(vvalue,tabid){  
        htdwr.findShengSDwr(vvalue,function(data) {
        for(var i=0;i<data.length;i++){
        sObj = data[i];
        $("#"+tabid).append("<option value='"+sObj.regioncode+"'>"+sObj.regionname+"</option>");
        }     
        //alert(${htinfo.daodssd});
		var ddssd='${htinfo.daodssd}';
		if	(ddssd!='')
		{
		    loadTabForShengshi(ddssd)
		}  
        });        
    }
    
    function changeTabForShsxx(vvalue,tabid){  
        htdwr.findShengSDwr(vvalue,function(data) {
        //alert("#"+tabid);
        $("#"+tabid).empty(); 
        $("#"+tabid).append("<option value='-1'>请选择</option>");       
        for(var i=0;i<data.length;i++){
        sObj = data[i];
        $("#"+tabid).append("<option value='"+sObj.regioncode+"'>"+sObj.regionname+"</option>");
        }
        var ddssd='${htinfo.daodssd}';
		if	(ddssd!='')
		{
		$("#"+tabid).val(ddssd);
		}  
        });         
        
    }
    
    function loadTabForHtxs(vvalue){
	$("#hetxs").val(vvalue);
    //$("#hetxsname").val($("#hetxs").find("option:selected").text());        
    var url = "";
    var projects = "";
    if(vvalue =='1'){
      url = "<%=path%>/jydz/findReChusz.action";
      $.post(url,function(data){ 
        projects = eval('(' + data + ')');               
        for(var i=0;i<projects.length;i++){
        //alert(projects[i].name);
        $("#yingyz").append("<option value='"+projects[i].id+"'>"+projects[i].name+"</option>");
        }
		 $("#yingyz").val(${htinfo.yingyzhmjglzbm});
		
        });
       loadTabForShsxx("100000","sheng");
       
    }else{
    url = "<%=path%>/jydz/findReYingyz.action";
    $.post(url,function(data){ 
        projects = eval('(' + data + ')');             
        for(var i=0;i<projects.length;i++){
        //alert(projects[i].name);
        $("#yingyz").append("<option value='"+projects[i].id+"'>"+projects[i].name+"</option>");
        }
		$("#yingyz").val(${htinfo.yingyzhmjglzbm});
        });
        loadTabForShsxx("140000","sheng");
    }
    }
    
    function changeTabForHtxs(vvalue){
    $("#hetxsname").val($("#hetxs").find("option:selected").text());        
    var url = "";
    var projects = "";
    if(vvalue =='1'){
      url = "<%=path%>/jydz/findReChusz.action";
      $.post(url,function(data){ 
        projects = eval('(' + data + ')'); 
        $("#yingyz").empty();       
        for(var i=0;i<projects.length;i++){
        //alert(projects[i].name);
        $("#yingyz").append("<option value='"+projects[i].id+"'>"+projects[i].name+"</option>");
        }
        });
       changeTabForShsxx("100000","sheng");
    }else{
    url = "<%=path%>/jydz/findReYingyz.action";
    $.post(url,function(data){ 
        projects = eval('(' + data + ')');
        $("#yingyz").empty();       
        for(var i=0;i<projects.length;i++){
        alert(projects[i].name);
        $("#yingyz").append("<option value='"+projects[i].id+"'>"+projects[i].name+"</option>");
        }
        });
        changeTabForShsxx("140000","sheng"); 
    }
    }
    
    function changeTabForHttk(vvalue){ 
        //alert(vvalue);
       var ismy = '<%=ismy%>';      
       var url = "<%=path%>/jydz/findMbHttk.action?nodeid="+vvalue;
       $.post(url,function(data){
       var json = eval('(' + data + ')');
       $( "#httk").children().remove();       
       var dtable = document.getElementById("httk");
       for(var i=0; i<json.length; i++){
       jydzObj=json[i];
       var elTr = dtable.insertRow( -1 );
       var tkTd = elTr.insertCell( -1 );
       var tx ="<span id=\"tkh"+i+"\" >"+jydzObj.tkh+"</span>";
       tkTd.innerHTML = tx;
       var idTd = elTr.insertCell( -1 );
       var sx ="<span id=\"sx"+i+"\" >"+jydzObj.biaot+"</span><input type=\"hidden\" name=\"djtk["+i+"].biaot\" value=\""+jydzObj.biaot+"\"/>";
       idTd.innerHTML = sx;
       var jfTd = elTr.insertCell(-1);      
       var jfyq="<textarea cols=\"142\" rows=\"2\" class=\"textarea\" name=\"djtk["+i+"].neir\" >"+jydzObj.neir+"</textarea>";     
                 
       jfTd.innerHTML=jfyq;
       }
       });
    }
    
    function changeTabForJsdw(vvalue,dwlx){
        //alert(vvalue);
        htdwr.findJsdwDwr(vvalue,function(data) {
        if(dwlx=='1'){
              $("#szs").val(data.jiesdwzs);
              $("#sfddbr").val(data.faddbr);
              $("#swtdlr").val(data.weitdlr);
              $("#sdh").val(data.dianh);
              $("#scz").val(data.chuanz);
              $("#syb").val(data.youzbm);
              $("#skhyh").val(data.kaihyh);
              $("#szh").val(data.yinhzh);
              $("#sdjh").val(data.nasrdjh);
              $("#cmdwjsrmc").val( $("#chumdwjsrbm").find("option:selected").text()); 
           }else{
              $("#bzs").val(data.jiesdwzs);
              $("#bfddbr").val(data.faddbr);
              $("#bwtdlr").val(data.weitdlr);
              $("#bdh").val(data.dianh);
              $("#bcz").val(data.chuanz);
              $("#byb").val(data.youzbm);
              $("#bkhyh").val(data.kaihyh);
              $("#bzh").val(data.yinhzh);
              $("#bdjh").val(data.nasrdjh);
              $("#msdwjsrmc").val( $("#maisdwjsrbm").find("option:selected").text()); 
           }
        
        });       
    }
    
    function changeTabForPinpDefult(){
        var url = "<%=path%>/htgl/findMtzbDefult.action"
        $.post(url,function(data){ 
          var projects = eval('(' + data + ')'); 
          $( "#mzpz").children().remove(); 
          $("#ppname").val("");      
       var dtable = document.getElementById("mzpz");  
       var elTr = dtable.insertRow( -1 );
       var aTd = elTr.insertCell( -1 );
       var ax ="<span>煤种:</span>";
       aTd.innerHTML = ax;
       var bTd = elTr.insertCell( -1 );
       var bx ="<div class=\"select\"><div><select id=\"mzid\"   onchange=\"changeTabForMeiz();\"/></div></div><input type=\"hidden\" id=\"mzmc\">";
       bTd.innerHTML = bx;
       var cTd = elTr.insertCell( -1 );
       var cx ="<span>品种:</span>";
       cTd.innerHTML = cx;
       var dTd = elTr.insertCell( -1 );
       var dx ="<div class=\"select\"><div><select id=\"pzid\"  onchange=\"changeTabForPinz();\"/></div></div><input type=\"hidden\" id=\"pzmc\">";
       dTd.innerHTML = dx;
       
          for(var i=0;i<projects.pd.length;i++){
              var pz = projects.pd[i];
              $("#pzid").append("<option value='"+pz.diccode+"'>"+pz.dicname+"</option>"); ;
              //alert(pz.dicname);
          }
          for(var j=0;j<projects.md.length;j++){
              var mz =  projects.md[j];
             $("#mzid").append("<option value='"+mz.diccode+"'>"+mz.dicname+"</option>");
          }
          
        $( "#mtzb").children().remove();
        var mtable = document.getElementById("mtzb");
        var nlTr = mtable.insertRow( -1 );
        var iTd = nlTr.insertCell( -1 );
        var ix ="<span>名称</span>";
        iTd.innerHTML = ix;
        var jTd = nlTr.insertCell( -1 );
        var jx ="<span>符号</span>";
        jTd.innerHTML = jx;
        var lTd = nlTr.insertCell( -1 );
        var lx ="<span>下限指标</span>";
        lTd.innerHTML = lx;
        var kTd = nlTr.insertCell( -1 );
        var kx ="<span>上限指标</span>";
        kTd.innerHTML = kx;
        
      for(var k=0;k<projects.zd.length;k++){
       var zbObj =projects.zd[k];
       var mlTr = mtable.insertRow( -1 );
       var eTd = mlTr.insertCell( -1 );       
       var ex ="<span>"+zbObj.guanlname+"</span><input type=\"hidden\" id=\"zhibbm"+k+"\" value="+zbObj.guanlid+"><input type=\"hidden\" id=\"zhibmc"+k+"\" value="+zbObj.guanlname+">";
       eTd.innerHTML = ex;
       var fTd = mlTr.insertCell( -1 );
       var fx ="<span>"+zbObj.fuh+"</span><input type=\"hidden\"  id=\"fuh"+k+"\" value="+zbObj.fuh+">";
       fTd.innerHTML = fx;       
       var hTd = mlTr.insertCell( -1 );
       var hx ="<input type=\"text\" id=\"xiaxz"+k+"\"  class=\"textbox\" >";
       hTd.innerHTML = hx;
       var gTd = mlTr.insertCell( -1 );
       var gx ="<input type=\"text\" id=\"shangxz"+k+"\"  class=\"textbox\" >";
       gTd.innerHTML = gx;
        }
          
        });
    }
    
    function changeTabForPinp(vvalue){ 
        if(vvalue==-1){
        changeTabForPinpDefult();
        }else{        
        var userid = "${sysuser.userid}";
        $("#ppname").val($("#ppid").find("option:selected").text()); 
        //alert(userid);
        htdwr.findPinpDwr(vvalue,userid,function(data) { 
         
        $( "#mzpz").children().remove();       
       var dtable = document.getElementById("mzpz");  
       var elTr = dtable.insertRow( -1 );
       var aTd = elTr.insertCell( -1 );
       var ax ="<span>煤种:</span>";
       aTd.innerHTML = ax;
       var bTd = elTr.insertCell( -1 );
       var bx ="<input id=\"mzmc\" value="+data.meizname+" type=\"text\" class=\"textbox\" readonly=\"readonly\"><input type=\"hidden\" id=\"mzid\" value="+data.meiz+">";
       bTd.innerHTML = bx;
       var cTd = elTr.insertCell( -1 );
       var cx ="<span>品种:</span>";
       cTd.innerHTML = cx;
       var dTd = elTr.insertCell( -1 );
       var dx ="<input id=\"pzmc\" value="+data.pinzname+" type=\"text\" class=\"textbox\" readonly=\"readonly\"><input type=\"hidden\" id=\"pzid\" value="+data.pinz+">";
       dTd.innerHTML = dx;
       
        $( "#mtzb").children().remove();
        var mtable = document.getElementById("mtzb");
        var nlTr = mtable.insertRow( -1 );
        var iTd = nlTr.insertCell( -1 );
        var ix ="<span>名称</span>";
        iTd.innerHTML = ix;
        var jTd = nlTr.insertCell( -1 );
        var jx ="<span>符号</span>";
        jTd.innerHTML = jx;
        var lTd = nlTr.insertCell( -1 );
        var lx ="<span>下限指标</span>";
        lTd.innerHTML = lx;
        var kTd = nlTr.insertCell( -1 );
        var kx ="<span>上限指标</span>";
        kTd.innerHTML = kx;        
        
        var mtzbd=data.mtzh;
        for(var i=0; i<mtzbd.length; i++){
        zbObj =mtzbd[i];
       var mlTr = mtable.insertRow( -1 );
       var eTd = mlTr.insertCell( -1 );
       var ex ="<span>"+zbObj.zhibmc+"</span><input type=\"hidden\" id=\"zhibbm"+i+"\" value="+zbObj.zhibbm+"><input type=\"hidden\" id=\"zhibmc"+i+"\" value="+zbObj.zhibmc+">";
       eTd.innerHTML = ex;
       var fTd = mlTr.insertCell( -1 );
       var fx ="<span>"+zbObj.fuh+"</span><input type=\"hidden\"  id=\"fuh"+i+"\" value="+zbObj.fuh+">";
       fTd.innerHTML = fx;       
       var hTd = mlTr.insertCell( -1 );
       var hx ="<input type=\"text\" id=\"xiaxz"+i+"\" value="+zbObj.xiaxz+"  class=\"textbox\" >";
       hTd.innerHTML = hx;
       var gTd = mlTr.insertCell( -1 );
       var gx ="<input type=\"text\" id=\"shangxz"+i+"\" value="+zbObj.shangxz+"  class=\"textbox\" >";
       gTd.innerHTML = gx;
        }       
        });
       }
    }
    function changeTabForYyz(){
    //alert($("#yingyz").find("option:selected").text());
    $( "#yyzmc").val( $("#yingyz").find("option:selected").text());   
    }
    
    function changeTabForMeiz(){
    //alert($("#mzid").find("option:selected").text());
    $( "#mzmc").val( $("#mzid").find("option:selected").text());   
    }
    
    function changeTabForPinz(){
    //alert($("#pzid").find("option:selected").text());
    $( "#pzmc").val( $("#pzid").find("option:selected").text());   
    }
    
    function changeTabForFhdw(){
    $("#fahdwmc").val($("#fahdwbm").find("option:selected").text());
    }
    
    function changeTabForDdss(){
    $("#daodssdname").val($("#shi").find("option:selected").text());
    }
    
    function changeTabForHyls(){    
    $("#hangylsname").val($("#hangy").find("option:selected").text());
    }
    
    function changeTabForJglx(){
    $("#jiaglxmc").val($("#jiaglx").find("option:selected").text());
    }
    
    function changeTabForPsfs(){
    $("#psfsmc").val($("#psfs").find("option:selected").text());
    }
    
    function changeTabForCmr(val){ 
      var url = "";     
      var dwbm =${sysuser.orgid};      
      if(dwbm==val){
      url = "<%=path%>/htgl/findJydwList.action?dwbm="+val;
      $.post(url,function(data){
            var json = eval('(' + data + ')');
            $("#qiymc").val(json[0].qiyqc);
            $("#chumdwdz").val(json[0].tongxdz);
            $("#chumdwfddbr").val(json[0].faddbr);
            $("#chumdwwtdlr").val(json[0].lianxr);
            $("#chumdwdh").val(json[0].lianxrdh);
            $("#chumdwcz").val(json[0].qiycz);
            $("#chumdwyzbm").val(json[0].qiyyb);
            $("#chumdwkhyh").val(json[0].kaihyhjbhname);
            $("#chumdwzh").val(json[0].yinghzhjbh);
            $("#chumdwnsrdjh").val(json[0].shuiwdjzhgs);
            $("#cmrmc").val(json[0].qiyqc);
            $("#cmrlx").val('1');
            });      
      }else{
      url = "<%=path%>/htgl/findZgdwList.action?dwbm="+val;
      $.post(url,function(data){
            var json = eval('(' + data + ')');
            $("#qiymc").val(json[0].danwmc);
            $("#chumdwdz").val(json[0].zhus);
            $("#chumdwfddbr").val(json[0].faddbr);
            $("#chumdwwtdlr").val(json[0].weitdlr);
            $("#chumdwdh").val(json[0].dianh);
            $("#chumdwcz").val(json[0].chuanz);
            $("#chumdwyzbm").val(json[0].youzbm);
            $("#chumdwkhyh").val(json[0].kaihyh);
            $("#chumdwzh").val(json[0].yinhzh);
            $("#chumdwnsrdjh").val(json[0].nasrdjh);
            $("#cmrmc").val(json[0].danwmc);
            $("#cmrlx").val('2');
            });
      }
      
    }
    
    function loadMonthCss(){
    var sDate=$("#kssj").val();
    sDate = sDate.substring(5,7);
    if(sDate=='01'){
    replaseCss($("#jan0"));
    replaseCss($("#feb0"));
    replaseCss($("#mar0"));
    replaseCss($("#apr0"));
    replaseCss($("#may0"));
    replaseCss($("#jun0"));
    replaseCss($("#jul0"));
    replaseCss($("#aug0"));
    replaseCss($("#sep0"));
    replaseCss($("#oct0"));
    replaseCss($("#nov0"));
    replaseCss($("#dec0"));
    }
    if(sDate=='02'){
    replaseCss($("#feb0"));
    replaseCss($("#mar0"));
    replaseCss($("#apr0"));
    replaseCss($("#may0"));
    replaseCss($("#jun0"));
    replaseCss($("#jul0"));
    replaseCss($("#aug0"));
    replaseCss($("#sep0"));
    replaseCss($("#oct0"));
    replaseCss($("#nov0"));
    replaseCss($("#dec0"));
    }
    if(sDate=='03'){
    replaseCss($("#mar0"));
    replaseCss($("#apr0"));
    replaseCss($("#may0"));
    replaseCss($("#jun0"));
    replaseCss($("#jul0"));
    replaseCss($("#aug0"));
    replaseCss($("#sep0"));
    replaseCss($("#oct0"));
    replaseCss($("#nov0"));
    replaseCss($("#dec0"));
    }
    if(sDate=='04'){
    replaseCss($("#apr0"));
    replaseCss($("#may0"));
    replaseCss($("#jun0"));
    replaseCss($("#jul0"));
    replaseCss($("#aug0"));
    replaseCss($("#sep0"));
    replaseCss($("#oct0"));
    replaseCss($("#nov0"));
    replaseCss($("#dec0"));
    }
    if(sDate=='05'){    
    replaseCss($("#may0"));
    replaseCss($("#jun0"));
    replaseCss($("#jul0"));
    replaseCss($("#aug0"));
    replaseCss($("#sep0"));
    replaseCss($("#oct0"));
    replaseCss($("#nov0"));
    replaseCss($("#dec0"));
    }
    if(sDate=='06'){
    replaseCss($("#jun0"));
    replaseCss($("#jul0"));
    replaseCss($("#aug0"));
    replaseCss($("#sep0"));
    replaseCss($("#oct0"));
    replaseCss($("#nov0"));
    replaseCss($("#dec0"));
    }
    if(sDate=='07'){
    replaseCss($("#jul0"));
    replaseCss($("#aug0"));
    replaseCss($("#sep0"));
    replaseCss($("#oct0"));
    replaseCss($("#nov0"));
    replaseCss($("#dec0"));
    }
    if(sDate=='08'){
    replaseCss($("#aug0"));
    replaseCss($("#sep0"));
    replaseCss($("#oct0"));
    replaseCss($("#nov0"));
    replaseCss($("#dec0"));
    }
    if(sDate=='09'){
    replaseCss($("#sep0"));
    replaseCss($("#oct0"));
    replaseCss($("#nov0"));
    replaseCss($("#dec0"));
    }
    if(sDate=='10'){
    replaseCss($("#oct0"));
    replaseCss($("#nov0"));
    replaseCss($("#dec0"));    
    }
    if(sDate=='11'){
    replaseCss($("#nov0"));
    replaseCss($("#dec0"));
    }
    if(sDate=='12'){
    replaseCss($("#dec0"));
    }   
    }
    
    function replaseCss(d){
    d.removeClass("shorttextbox1");
    d.addClass("shorttextbox");
    d.removeAttr("readonly");
    }
    
    function loadCmrData(){
        var url = "<%=path%>/htgl/findSjdwList.action";       
        $.post(url,function(data){
        var json = eval('(' + data + ')'); 
        for(var i=0;i<json.length;i++){
        //alert(projects[i].name);
        $("#cmrbm").append("<option value='"+json[i].danwbm+"'>"+json[i].danwmc+"</option>");
        }
        });
    }
    function loadMsrData(){
      var url = "<%=path%>/htgl/findBfJysList.action"
      $.post(url,function(data){ 
        var projects = eval('(' + data + ')'); 
        //alert(projects);
       $( "#msr").autocomplete({
			minLength: 2,
			source:projects,			
            select: function( event, ui ) {
            //alert(ui.item.label);	
            url = "<%=path%>/htgl/findMsrJsList.action?msrId="+ui.item.qydm;
               $.post(url,function(data){
                var json = eval('(' + data + ')');
                $("#maisdwjsrbm").empty(); 
                $("#maisdwjsrbm").append("<option value='-1'>请选择</option>");      
                  for(var i=0;i<json.length;i++){                
                  $("#maisdwjsrbm").append("<option value='"+json[i].jiesdwbm+"'>"+json[i].jiesdwmc+"</option>");
                  }
               });
				$( "#msr" ).val( ui.item.label );
				$( "#msrid" ).val( ui.item.qydm );							
				$( "#maisr").val( ui.item.label );
				$( "#zs").val( ui.item.zs );
				$( "#fddbr" ).val( ui.item.fddbr );	
				$( "#wtdlr" ).val( ui.item.wtdlr );	
				$("#dh").val(ui.item.dh);	
				$("#cz").val(ui.item.cz);	
				$("#yb").val(ui.item.yb);	
				$("#khyh").val(ui.item.khyh);	
				$("#zh").val(ui.item.zh);	
				$("#djh").val(ui.item.djh);				
				$("#msrssdwbm").val(ui.item.qydm);
				$("#msrssdwmc").val(ui.item.label);
				loadShdwData(0);				
				return false;

			}
		});
    });
    }

    function loadFhdwData(){
       var url = "<%=path%>/htgl/findFhdwList.action";    
      $.post(url,function(data){ 
        var projects = eval('(' + data + ')'); 
        //alert(projects);
       $( "#fahdwmc").autocomplete({
			minLength:2,
			source:projects,			
            select: function( event, ui ) {
            //alert(ui.item.label);	
				$( "#fahdwmc").val( ui.item.label );							
				$( "#fahdwbm").val( ui.item.fahdwbm );						
				return false;

			}
		});
    });
    }
    
    function loadShdwData(i){
    var url = "<%=path%>/htgl/findShdwList.action?msrId="+$("#msrid").val();    
      $.post(url,function(data){ 
        var projects = eval('(' + data + ')'); 
        //alert(projects);
       $( "#shr"+i).autocomplete({
			minLength: 0,
			source:projects,			
            select: function( event, ui ) {
            //alert(ui.item.label);	
				$( "#shr"+i ).val( ui.item.label );							
				$( "#shrid"+i ).val( ui.item.shouhdwbm );						
				return false;

			}
		});
    });
    }
    
    function loadMsrjsdwData(){
        var url = "<%=path%>/htgl/findMsrJsList.action?msrId="+${htinfo.maisdwjsrbm};       
        $.post(url,function(data){
            var json = eval('(' + data + ')');           
        $("#maisdwjsrbm").empty();        
        $("#maisdwjsrbm").append("<option value='${htinfo.maisdwjsrbm}'>${htinfo.maisdwjsrmc}</option>");      
        for(var i=0;i<json.length;i++){
        //alert(projects[i].name);
        $("#maisdwjsrbm").append("<option value='"+json[i].jiesdwbm+"'>"+json[i].jiesdwmc+"</option>");
        }
        });
    }
   
    $(function(){ 
        loadMonthCss();
        loadCmrData();
        //loadTabForShengshi(${htinfo.daodssd});
        loadShdwData(0);
        loadFhdwData(); 
        loadMsrData();
        loadMsrjsdwData();
        loadTabForHtxs(${htinfo.hetxs});  
		 $("#jiaglx").val(${htinfo.jiaglx});
	  $("#hangy").val(${htinfo.hangy});  
	         $("#psfs").val(${htinfo.psfs}); 
        $("#but1").button();
        $("#but2").button();
        $("#but3").button();
        $( "#datepicker" ).datepicker($.datepicker.regional[ "zh-CN" ]);        
		$( "#pzgg" ).dialog({
		    autoOpen: false,
		    modal: true
		   }); 
		 tj(); 
		 
		 
		 onlyRead();
		    
    });
    
    
    function onlyRead(){
    var inputs=document.getElementsByTagName("input");
    for(var i=0;i<inputs.length;i++){
    inputs[i].setAttribute("readOnly",true);
    }
}
    
	
	function tj(){	 
	  /**  
     * 自定义验证规则——增加对select的验证  
     */  
    $.validator.addMethod(    
        "selectNone", 
        function(value, element)
        {   
            if (value == "-1") 
            {    
                return false;    
            }    
            else    
            {   
                return true;    
            }   
        },    
        "必须选择一项" 
    );   
	
	$("#form1").validate({
	       rules: {
	       "ht.hetlrbh": "required",
	       "ht.maisdwmc":"required",
	       "ht.yingyzhmjglzbm":"required",
	       "ht.daodssd":"required",	
	       "htkz[0].shouhdwmc":"required", 
	       "htkz[0].pinzgg":"required",
	       "ht.hetxs":{
	       selectNone:true
	       },
	       "ht.yingyzhmjglzbm":{
	       selectNone:true
	       },
	       sheng:{
	       selectNone:true
	       },
	       "ht.daodssd":{
	       selectNone:true
	       },
	       "ht.fahdwbm":{
	       selectNone:true
	       },
	       "ht.hangy":{
	       selectNone:true
	       },
	       "ht.chumdwjsrbm":{
	       selectNone:true
	       },
	       "ht.maisdwjsrbm":{
	       selectNone:true
	       },
	       "htkz[0].shul":{
	       required: true,	       
	       range:[0,9999999]
	       },      
	       "htkz[0].jiag":{
	       required: true,
	       number:true,	      
	       range:[0,3000]
	       }
	       },
		   messages: {
		   "ht.hetlrbh":"请输入合同号",
		   "ht.maisdwmc":"请选择买受人",
		   "ht.yingyzhmjglzbm":"请选择出省站或营业站",
		   "ht.daodssd":"请选择到达省市",
		   "ht.hetxs":"请选择合同形式",
		   "ht.yingyzhmjglzbm":"请选择出省站或营业站",
		   sheng:"请选择省份",
	       "ht.daodssd":"请选择地市",
	       "ht.fahdwbm":"请选择发货单位",
	       "ht.hangy":"请选择隶属行业",
	       "ht.chumdwjsrbm":"请选择出卖人结算单位",
	       "ht.maisdwjsrbm":"请选择买受人结算单位",
		   "htkz[0].shouhdwmc":"请选择收货单位",
		   "htkz[0].pinzgg":"请选择品种规格",
		   "htkz[0].shul":{
	       required: "请输入数量",
	       range:jQuery.validator.format("请输入一千万吨之内的数")
	       },
		   "htkz[0].jiag":{
		   required:"请输入价格",
		   number:"请输入合法数字",
		   range:jQuery.validator.format("请输入0和3000之间的数")
		   }
		   
		   }
		   });
		   $("#but1").click(function(){
		    if($("#form1").valid()){		        
		        var url = "<%=path%>/htgl/saveHtxxInfo.action";
		         $("#form1").ajaxSubmit({
		              url:url,
		              type:'post',
		              success:function(data){
		              var json =eval('(' + data + ')');
					    if(json.result==1){
					    alert("变更成功，请【提报】给买方进行确认！");
					    window.returnValue=1;
                        window.close();					   
					   }else{
					    alert("变更失败！");
					    window.returnValue=1;
                        window.close();
					   }
		              }
		         });		          
		        }
		       });
		       
		       
		       
		       $("#but2").click(function(){
		         if($("#form1").valid()){ 
		        var url = "<%=path%>/htgl/saveAndSubmitHtxxInfo.action";
		         $("#form1").ajaxSubmit({
		              url:url,
		              type:'post',
		              success:function(data){
		              var json =eval('(' + data + ')');
					    if(json.result==1){
					    alert("提报成功！");
					    window.returnValue=1;
                        window.close();					   
					   }else{
					    alert("保存失败！");
					    //window.returnValue=1;
                        //window.close();
					   }
		              }
		         });	       
		        
		        }
		       });
	  
	  }
	  
	  function comptime(time1, time2) {
        var d1 = new Date(time1.replace(/-/g, "/"));
        var d2 = new Date(time2.replace(/-/g, "/"));
        if(Date.parse(d1) - Date.parse(d2) > 0)
                return true;
        else
                return false;
}
	function encodefh(str)
		{		
		str=str.replace(">","d");
		str=str.replace("≥","dd");
		str=str.replace("<","x");
		str=str.replace("≤","xd");
		
		return str;
		}
	function clickPzgg(i){
	//alert(i);
	  $( "#fh"+i )			
			.click(function() {
			$( "#pzgg" ).dialog("open");
			$( "#pzgg" ).dialog({
			resizable: false,			
			height: 1110,
		    width: 650,
			modal: true,
			buttons: {
				"确认": function() {
				var str="";
				var ary=[];
				var aryxs=[];
								
				var j =-1;				
				$("#mtzb").find("tr").each(function(){
				          		           			               			               
				           var djzb = new Object; 
				           var a="",b="";
                           $(this).find("td").each(function(){                           
                           if($(this).find("[id='zhibmc"+j+"']").length>0){                                
                              
                               djzb.zhibmc=$(this).find("[id='zhibmc"+j+"']").val();
                             }                       
                           if($(this).find("[id='zhibbm"+j+"']").length>0){                           
                              djzb.zhibbm=$(this).find("[id='zhibbm"+j+"']").val();                                                     
                             
                             }
                            if($(this).find("[id='fuh"+j+"']").length>0){                             
                             var fh=$(this).find("[id='fuh"+j+"']").val();
                             //特殊符号转码                             
                             djzb.fuh=fh;                              
                                //   djzb.fuh=fh;                                                
                             if(fh=="-"){
                             a="";
                             b=fh;                            
                             }else if(fh==">" || fh=="≥"){
                             a=fh;
                             b="";                             
                             }else if(fh=="<" || fh=="≤"){
                             a="";
                             b=fh;                             
                             }
                             } 
                          if($(this).find("[id='xiaxz"+j+"']").length>0){                           
                           var xx = $(this).find("[id='xiaxz"+j+"']").val();
                           if(xx!=''){
                           djzb.xiaxz=xx;                           
                           }else{
                           djzb.xiaxz='';                                                   
                            }                                                      
                           }
                           if($(this).find("[id='shangxz"+j+"']").length>0){                        
                            var sx = $(this).find("[id='shangxz"+j+"']").val();
                            if(sx!=''){
                            djzb.shangxz=sx;                           
                            }else{
                             djzb.shangxz='';                           
                            }                                                                                                          
                           }
                          
                                });
                              
                                djzb.fenzbm=i;
                                aryxs[j]=djzb; 
                                
                                ary[j]=encodefh(JSON.stringify(djzb)); 
                                
                                //alert(encodefh(ary[j]));
                                                             
                                j++;
                            });
                       var  str1="";
                             for(k=0;k<j;k++)
                            {
                            //alert(aryxs[k].zhibmc);
                            var fh=aryxs[k].fuh;
                            var xx =aryxs[k].xiaxz;
                            var sx =aryxs[k].shangxz;                           
                            var zb=aryxs[k].zhibmc
                            
                            if(fh=="-")
                            {    
	                            if (xx!='')
	                            {
		                            if(sx!='')
		                            {
		                            	str1=str1+zb+" "+xx+fh+sx+";";
		                            } 
		                            else 
		                            {
		                           		str1=str1+zb+" "+"≥"+xx+";";
		                            }
		                        } 		                            
	                            else if(sx!='')
	                            {
	                            str1=str1+zb+" "+"≤"+sx+";";
	                            }else
	                            {
	                            }
                            
                            }else if (fh==">" || fh=="≥")
                            {
                            if (xx!='')
	                            {str1=str1+zb+" "+fh+xx+";";}
                            
                            
                            }else if (fh=="<" || fh=="≤")
                            {
                             if(sx!='')
	                            {
	                            str1=str1+zb+" "+fh+sx+";";
	                            } 
                            }   
                            }
                            
                            str=str1;
                          
                           
                  //alert(ary.toString()); 
                          
	var url = "<%=path%>/htgl/subCacheForDjzb.action?zb="+ary;
    //alert(url);
    $.post(url);
    
    var mzpz="";    
    $("#mzpz tr").find("td").each(function(){
        if($(this).find("[id='mzid']").length>0){
            $( "#mzbm"+i).val($(this).find("[id='mzid']").val());
            $( "#mzmc"+i).val($(this).find("[id='mzmc']").val()); 
            mzpz+=$(this).find("[id='mzmc']").val()+".";
        }
        
        if($(this).find("[id='pzid']").length>0){
            $( "#pzbm"+i).val($(this).find("[id='pzid']").val());
            $( "#pzmc"+i).val($(this).find("[id='pzmc']").val()); 
            mzpz+=$(this).find("[id='pzmc']").val();
        }                
    
    });	
    //alert(mzpz); 
    var pp="",ppmz="";
    if($("#ppname").val().length>0){    
    pp+=$("#ppname").val()+"("+mzpz+")";    
    }
    ppmz=pp==""?mzpz:pp;
    //alert(ppmz);
    $( "#fh"+i).val(ppmz); 
    $( "#zlzb"+i).val(str.substring(0, str.length));
    $( "#zlzbfz"+i).val(i);
                       
    $( this ).dialog( "close" );                              
				},
				
				"返回": function() {
					$( this ).dialog( "close" );
				}
			}		    
		   
		 });	
	  });
	}
	
	function txtzjl_onblur(i) {           
            if ($("#shul"+i).val() != "") {
                var zjsl = parseFloat($("#shul"+i).val());
                var yuesl = zjsl / 12;
                var intyue = parseInt(yuesl);
                var syysl = intyue * 11;
                var srysl = zjsl - syysl;
                SetYueZJ(i,intyue, srysl);
                return;
            }
            SetYueZJ(i,0, 0);
        }

        function SetYueZJ(i,yuesl, srysl) {
            $("#jan"+i).val(yuesl);
            $("#feb"+i).val(yuesl);
            $("#mar"+i).val(yuesl);
            $("#apr"+i).val(yuesl);
            $("#may"+i).val(yuesl);
            $("#jun"+i).val(yuesl);
            $("#jul"+i).val(yuesl);
            $("#aug"+i).val(yuesl);
            $("#sep"+i).val(yuesl);
            $("#oct"+i).val(yuesl);
            $("#nov"+i).val(yuesl);
            $("#dec"+i).val(srysl);            
        }
        
     function txtyuesl_onblur(i) {
            if (!event.srcElement.value) {
                event.srcElement.value = '0'
            }
            var temp = GetYueZJ(i);
            if (isNaN(temp)) {
                $("#shul"+i).val(0);                
            }
            else {
                $("#shul"+i).val(temp);                
            }

        }

        function GetYueZJ(i) { 
             var yue1 =parseFloat($("#jan0").val()==''?0:$("#jan0").val());            
            var yue2 = parseFloat($("#feb0").val()==''?0:$("#feb0").val());
            var yue3 = parseFloat($("#mar0").val()==''?0:$("#mar0").val());
            var yue4 = parseFloat($("#apr0").val()==''?0:$("#apr0").val());
            var yue5 = parseFloat($("#may0").val()==''?0:$("#may0").val());
            var yue6 = parseFloat($("#jun0").val()==''?0:$("#jun0").val());
            var yue7 = parseFloat($("#jul0").val()==''?0:$("#jul0").val());
            var yue8 = parseFloat($("#aug0").val()==''?0:$("#aug0").val());
            var yue9 = parseFloat($("#sep0").val()==''?0:$("#sep0").val());
            var yue10 = parseFloat($("#oct0").val()==''?0:$("#oct0").val());
            var yue11 = parseFloat($("#nov0").val()==''?0:$("#nov0").val());
            var yue12 = parseFloat($("#dec0").val()==''?0:$("#dec0").val()); 

            var yuezj = yue1 + yue2 + yue3 + yue4 + yue5 + yue6 + yue7 + yue8 + yue9 + yue10 + yue11 + yue12;
            return yuezj;
        }
	
	</script>

</head>

<body>

	<div id="tab">
		<h1>煤炭交易合同</h1>
		<form name="form1" id="form1">
			<table id="list_search" cellpadding="0" cellspacing="0" border="0">
				<tr>
					<td>出卖人（销方）:</td>
					<td>
						<div class="select" >
							<div  >
								<select id="cmrbm" style="width:180px;" name="ht.chumdwbm" 
									onchange="changeTabForCmr(this.value)">
									<option value="${htinfo.chumdwbm}" selected>${htinfo.chumdwmc}</option>
								</select>
							</div>
						</div> <input  name="ht.chumdwmc" id="cmrmc" class="longtextbox" 
						value="${htinfo.chumdwmc}"> <input type="hidden"
						name="ht.chumrlx" id="cmrlx" value="${htinfo.chumrlx}"> <input
						type="hidden" name="ht.chumrssdwmc" value="${htinfo.chumrssdwmc}">
						<input type="hidden" name="ht.chumrssdwbm"
						value="${htinfo.chumrssdwbm}">
					</td>
					<td>企业合同号:</td>
					<td><input id="ht.hetlrbh" type="text" name="ht.hetlrbh"
						class="longtextbox" value="${htinfo.hetlrbh}" /></td>
					<input type="hidden" name="ht.shangjht" value="${htinfo.hetbh}">
					<input type="hidden" name="ht.zhuangt" value="${htinfo.zhuangt}">
					<td>出省站/营业站:</td>
					<td>
						<div class="select1">
							<div>
								<select id="yingyz" name="ht.yingyzhmjglzbm"
									style="width:180px;" onChange="changeTabForYyz()">

								</select>
							</div>
						</div> <input type="hidden" name="ht.yingyzhmjglz" id="yyzmc"
						value="${htinfo.yingyzhmjglz}">
					</td>
				</tr>

				<tr>
					<td>买受人（购方）:</td>
					<td><input id="msr" name="ht.maisdwmc" type="text"
						class="longtextbox" value="${htinfo.maisdwmc}" /> <input
						id="msrid" type="hidden" name="ht.maisdwbm"
						value="${htinfo.maisdwbm}"> <input id="msrssdwmc"
						type="hidden" name="ht.maisrssdwmc" value="${htinfo.maisrssdwmc}">
						<input id="msrssdwbm" type="hidden" name="ht.maisrssdwbm"
						value="${htinfo.maisrssdwbm}">
					</td>
					<td>签约地点:</td>
					<td><input type="text" name="ht.qianydd" class="longtextbox"
						value="中国(太原)煤炭交易中心" readonly /></td>
					<td>到达省、地（市）:</td>
					<td>
						<div class="select">
							<div>
								<select id="sheng" style="width:90px;"
									onChange="changeTabForShsxx(this.value,'shi')"></select>
							</div>
						</div>
						<div class="select">
							<div>
								<select id="shi" name="ht.daodssd" style="width:90px;"
									onChange="changeTabForDdss()"></select>
							</div>
						</div> <input  id="daodssdname" name="ht.daodssdname" class="longtextbox" 
						value="${htinfo.daodssdname}">
					</td>
				</tr>

				<tr>
					<td>合同形式:</td>
					<td>
						<div class="select" >
							<div>
								<s:select id="hetxs" style="width:180px;" name="ht.hetxs"
									headerKey="-1" headerValue="请选择" list="htxsList"
									listKey="diccode" listValue="dicname"
									onchange="changeTabForHtxs(this.value);" />
							</div>
						</div> <input  id="hetxsname" name="ht.hetxsname" class="longtextbox" 
						value="${htinfo.hetxsname}">
					</td>
					<td>价格类型:</td>
					<td>
						<div class="select" >
							<div>
								<s:select style="width:180px;" id="jiaglx" name="ht.jiaglx"
									headerKey="-1" headerValue="请选择" list="jglxList"
									listKey="diccode" listValue="dicname"
									onchange="changeTabForJglx(this.value);" />
							</div>
						</div> <input  id="jiaglxmc" name="ht.jiaglxmc" class="longtextbox" 
						value="${htinfo.jiaglxmc}">
					</td>
					<!--
            <td>合同类型: </td>
            <td><div class="select"><div><s:select name="ht.hetlx" headerKey="%{htinfo.hetlx}" headerValue="%{htinfo.hetlxmc}" list="htlxList" listKey="diccode" listValue="dicname" /></div></div></td>
             -->
					<td>隶属行业:</td>
					<td>
						<div class="select" >
							<div>
								<s:select id="hangy" style="width:180px;" name="ht.hangy"
									headerKey="-1" headerValue="请选择" list="hyList"
									listKey="diccode" listValue="dicname"
									onchange="changeTabForHyls(this.value)" />
							</div>
						</div> <input  id="hangylsname" name="ht.hangylsname" class="longtextbox" 
						value="${htinfo.hangylsname}">
					</td>
				</tr>

				<tr>
					<td>发货单位:</td>
					<td><input id="fahdwmc" name="ht.fahdwmc" type="text"
						class="longtextbox" title="请录入汉字关键字选择发货单位"
						value="${htinfo.fahdwmc}" /> <input id="fahdwbm" type="hidden"
						name="ht.fahdwbm" value="${htinfo.fahdwbm}">
					</td>
					<td>配送方式:</td>
					<td>
						<div class="select" >
							<div>
								<s:select style="width:180px;" id="psfs" name="ht.psfs"
									headerKey="-1" headerValue="请选择" list="psfsList"
									listKey="diccode" listValue="dicname"
									onchange="changeTabForPsfs(this.value);" />
							</div>
						</div> <input  id="psfsmc" name="ht.psfsname" class="longtextbox" 
						value="${htinfo.psfsname}">
					</td>
					<td>签订时间:</td>
					<td><input id="datepicker" type="text" class="textbox"
						name="ht.qianysj" value="${htinfo.qianysj}" readonly /> <input
						type="hidden" name="ht.zidqysj" value="${htinfo.zidqysj}">
					</td>

				</tr>

				<tr>
					<td colspan="6" style="padding-top:5px;">一、收货人名称、品种规格、数量、单价</td>
				</tr>
				<tr>
					<td colspan="6" style="padding:1px;">
						<table id="changdi" align="center" cellpadding="0" cellspacing="0"
							class="content_gridview" border="1">
							<thead>
								<tr>
									<th rowspan="3">收货人名称</th>
									<th rowspan="3">品种规格</th>
									<th rowspan="3">质量指标</th>
									<th rowspan="3">价格<br />(元/吨)</th>
									<th colspan="13">交（提）货时间、煤量（吨）</th>
								</tr>
								<tr>
									<th rowspan="2">全年合计</th>
									<th colspan="3">一季度</th>
									<th colspan="3">二季度</th>
									<th colspan="3">三季度</th>
									<th colspan="3">四季度</th>
								</tr>
								<tr>
									<th>1</th>
									<th>2</th>
									<th>3</th>
									<th>4</th>
									<th>5</th>
									<th>6</th>
									<th>7</th>
									<th>8</th>
									<th>9</th>
									<th>10</th>
									<th>11</th>
									<th>12</th>
								</tr>
							</thead>
							<tbody>
								<s:iterator value="htkz" status="i">
									<tr>
										<td><textarea id="shr${i.index}" cols="15" rows="3"
												name="htkz[${i.index}].shouhdwmc" class="textarea">${shouhdwmc}</textarea>
											<input id="shrid${i.index}" type="hidden"
											name="htkz[${i.index}].shouhdwbm" value="${shouhdwbm}" /> <input
											type="hidden" name="htkz[${i.index}].sysid" value="${sysid}">
										</td>
										<td><textarea id="fh${i.index}" cols="12" rows="3"
												name="htkz[${i.index}].pinzgg" class="textarea"
												readonly="readonly" onClick="clickPzgg(${i.index});">${pinzgg}</textarea>
											<input type="hidden" id="mzbm${i.index}"
											name="htkz[${i.index}].meizbm" value="${meizbm}"> <input
											type="hidden" id="mzmc${i.index}"
											name="htkz[${i.index}].meiz" value="${meiz}"> <input
											type="hidden" id="pzbm${i.index}"
											name="htkz[${i.index}].pinzbm" value="${pinzbm}"> <input
											type="hidden" id="pzmc${i.index}"
											name="htkz[${i.index}].pinz" value="${pinz}"> <input
											type="hidden" name="htkz[${i.index}].hetbh" value="${hetbh}">
											<input type="hidden" name="htkz[${i.index}].hej"
											value="${hej}"> <input type="hidden"
											name="htkz[${i.index}].gengxsj" value="<%=curdate%>">
										</td>
										<td><textarea id="zlzb${i.index}" cols="30" rows="3"
												class="textarea" name="htkz[${i.index}].zhilzb">${zhilzb}</textarea>
											<input type="hidden" id="zlzbfz0"
											name="htkz[${i.index}].zhilzbfzbm" value="${zhilzbfzbm}">
										</td>
										<td><input id="jiag${i.index}" type="text"
											class="shorttextbox" name="htkz[${i.index}].jiag"
											value="<fmt:formatNumber value="${jiag}" pattern="###.##"/>" />
										</td>
										<td><input id="shul${i.index}" type="text"
											class="textboxs" name="htkz[${i.index}].shul"
											value="<fmt:formatNumber value="${shul}" pattern="###"/>">
										</td>
										<td><input id="jan${i.index}" type="text"
											class="shorttextbox1" name="htkz[${i.index}].gml1" readonly
											onKeyPress="if( event.keyCode == 13 ) {txtyuesl_onblur(${i.index});}"
											value="<fmt:formatNumber value="${gml1}" pattern="###"/>">
										</td>
										<td><input id="feb${i.index}" type="text"
											class="shorttextbox1" name="htkz[${i.index}].gml2" readonly
											onKeyPress="if( event.keyCode == 13 ) {txtyuesl_onblur(${i.index});}"
											value="<fmt:formatNumber value="${gml2}" pattern="###"/>">
										</td>
										<td><input id="mar${i.index}" type="text"
											class="shorttextbox1" name="htkz[${i.index}].gml3" readonly
											onKeyPress="if( event.keyCode == 13 ) {txtyuesl_onblur(${i.index});}"
											value="<fmt:formatNumber value="${gml3}" pattern="###"/>">
										</td>
										<td><input id="apr${i.index}" type="text"
											class="shorttextbox1" name="htkz[${i.index}].gml4" readonly
											onKeyPress="if( event.keyCode == 13 ) {txtyuesl_onblur(${i.index});}"
											value="<fmt:formatNumber value="${gml4}" pattern="###"/>">
										</td>
										<td><input id="may${i.index}" type="text"
											class="shorttextbox1" name="htkz[${i.index}].gml5" readonly
											onKeyPress="if( event.keyCode == 13 ) {txtyuesl_onblur(${i.index});}"
											value="<fmt:formatNumber value="${gml5}" pattern="###"/>">
										</td>
										<td><input id="jun${i.index}" type="text"
											class="shorttextbox1" name="htkz[${i.index}].gml6" readonly
											onKeyPress="if( event.keyCode == 13 ) {txtyuesl_onblur(${i.index});}"
											value="<fmt:formatNumber value="${gml6}" pattern="###"/>">
										</td>
										<td><input id="jul${i.index}" type="text"
											class="shorttextbox1" name="htkz[${i.index}].gml7" readonly
											onKeyPress="if( event.keyCode == 13 ) {txtyuesl_onblur(${i.index});}"
											value="<fmt:formatNumber value="${gml7}" pattern="###"/>">
										</td>
										<td><input id="aug${i.index}" type="text"
											class="shorttextbox1" name="htkz[${i.index}].gml8" readonly
											onKeyPress="if( event.keyCode == 13 ) {txtyuesl_onblur(${i.index});}"
											value="<fmt:formatNumber value="${gml8}" pattern="###"/>">
										</td>
										<td><input id="sep${i.index}" type="text"
											class="shorttextbox1" name="htkz[${i.index}].gml9" readonly
											onKeyPress="if( event.keyCode == 13 ) {txtyuesl_onblur(${i.index});}"
											value="<fmt:formatNumber value="${gml9}" pattern="###"/>">
										</td>
										<td><input id="oct${i.index}" type="text"
											class="shorttextbox1" name="htkz[${i.index}].gml10" readonly
											onKeyPress="if( event.keyCode == 13 ) {txtyuesl_onblur(${i.index});}"
											value="<fmt:formatNumber value="${gml10}" pattern="###"/>">
										</td>
										<td><input id="nov${i.index}" type="text"
											class="shorttextbox1" name="htkz[${i.index}].gml11" readonly
											onKeyPress="if( event.keyCode == 13 ) {txtyuesl_onblur(${i.index});}"
											value="<fmt:formatNumber value="${gml11}" pattern="###"/>">
										</td>
										<td><input id="dec${i.index}" type="text"
											class="shorttextbox1" name="htkz[${i.index}].gml12" readonly
											onKeyPress="if( event.keyCode == 13 ) {txtyuesl_onblur(${i.index});}"
											value="<fmt:formatNumber value="${gml12}" pattern="###"/>">
										</td>
									</tr>
								</s:iterator>
							</tbody>
						</table>
					</td>
				</tr>
				<tr>

					<td>条款模板:</td>
					<td colspan="5">
						<div class="select">
							<div>
								<s:select style="width:180px;" list="mbtk" listKey="mobbm"
									listValue="mobmc" onchange="changeTabForHttk(this.value)" />
							</div>
						</div>
					</td>
				</tr>
				<tr>
					<td colspan="6">
						<table id="httk" cellpadding="0" cellspacing="0" border="0"
							class="content1">

							<s:iterator value="djtk" status="i">
								<tr>
									<td><c:property name="tkh" /> <c:property name="biaot" />
										<input type="hidden" name="djtk[${i.index}].biaot"
										value="${biaot}" /> <input type="hidden"
										name="djtk[${i.index}].danjbh" value="${danjbh}"> <input
										type="hidden" name="djtk[${i.index}].danjlx" value="${danjlx}">
										<input type="hidden" name="djtk[${i.index}].paix"
										value="${paix}"> <input type="hidden"
										name="djtk[${i.index}].gengxsj" value="<%=curdate%>">
									</td>
									<td><textarea cols="142" rows="2" class="textarea"
											name="djtk[${i.index }].neir">${neir}</textarea>
									</td>
								</tr>
							</s:iterator>
						</table>
					</td>
				</tr>
				<tr>
					<td colspan="6">
						<table cellpadding="0" cellspacing="0" style="width:100%"
							class="content_gridview" border="1">
							<thead>
								<tr>
									<th colspan="2">出卖人</th>
									<th colspan="2">买受人</th>
								</tr>
							</thead>
							<tbody>
								<tr>
									<td>
										<table cellpadding="0" cellspacing="0" border="0"
											class="content1">
											<tr>
												<td>出卖人名称(章)：</td>
												<td><input id="qiymc" type="text" class="longtextbox"
													value="${htinfo.chumdwmc}" />
												</td>
											</tr>
											<tr>
												<td>住 所:</td>
												<td><input id="chumdwdz" type="text" name="ht.chumdwdz"
													class="longtextbox" value="${htinfo.chumdwdz}" />
												</td>
											</tr>
											<tr>
												<td>法定代表人:</td>
												<td><input id="chumdwfddbr" type="text"
													name="ht.chumdwfddbr" class="longtextbox"
													value="${htinfo.chumdwfddbr}" />
												</td>
											</tr>
											<tr>
												<td>委托代理人:</td>
												<td><input id="chumdwwtdlr" type="text"
													name="ht.chumdwwtdlr" class="longtextbox"
													value="${htinfo.chumdwwtdlr}" />
												</td>
											</tr>
											<tr>
												<td>电 话:</td>
												<td><input id="chumdwdh" type="text" name="ht.chumdwdh"
													class="longtextbox" value="${htinfo.chumdwdh}" />
												</td>
											</tr>
											<tr>
												<td>传真:</td>
												<td><input id="chumdwcz" type="text" name="ht.chumdwcz"
													class="longtextbox" value="${htinfo.chumdwcz}" />
												</td>
											</tr>
											<tr>
												<td>邮政编码:</td>
												<td><input id="chumdwyzbm" type="text"
													name="ht.chumdwyzbm" class="longtextbox"
													value="${htinfo.chumdwyzbm}" />
												</td>
											</tr>
											<tr>
												<td>开户银行:</td>
												<td><input id="chumdwkhyh" type="text"
													name="ht.chumdwkhyh" class="longtextbox"
													value="${htinfo.chumdwkhyh}" />
												</td>
											</tr>
											<tr>
												<td>帐号:</td>
												<td><input id="chumdwzh" type="text" name="ht.chumdwzh"
													class="longtextbox" value="${htinfo.chumdwzh}" />
												</td>
											</tr>
											<tr>
												<td>纳税人登记号:</td>
												<td><input id="chumdwnsrdjh" type="text"
													name="ht.chumdwnsrdjh" class="longtextbox"
													value="${htinfo.chumdwnsrdjh}" />
												</td>
											</tr>

										</table>
									</td>
									<td><table cellpadding="0" cellspacing="0" border="0"
											class="content1">
											<tr>
												<td>出卖人结算单位名称(章)：</td>
												<td>
													<div class="select">
														<div>
															<s:select id="chumdwjsrbm" style="width:180px;"
																name="ht.chumdwjsrbm" headerKey="%{htinfo.chumdwjsrbm}"
																headerValue="%{htinfo.chumdwjsrmc}" list="sjsdwList"
																listKey="jiesdwbm" listValue="jiesdwmc"
																onchange="changeTabForJsdw(this.value,'1')" />
														</div>
													</div> <input id="cmdwjsrmc" type="hidden" name="ht.chumdwjsrmc"
													value="${htinfo.chumdwjsrmc}">
												</td>
											</tr>
											<tr>
												<td>住 所:</td>
												<td><input id="szs" type="text" name="ht.chumdwjsrdz"
													class="longtextbox" value="${htinfo.chumdwjsrdz}" />
												</td>
											</tr>
											<tr>
												<td>法定代表人:</td>
												<td><input id="sfddbr" type="text"
													name="ht.chumdwjsrfddbr" class="longtextbox"
													value="${htinfo.chumdwjsrfddbr}" />
												</td>
											</tr>
											<tr>
												<td>委托代理人:</td>
												<td><input id="swtdlr" type="text"
													name="ht.chumdwjsrwtdlr" class="longtextbox"
													value="${htinfo.chumdwjsrwtdlr}" />
												</td>
											</tr>
											<tr>
												<td>电 话:</td>
												<td><input id="sdh" type="text" name="ht.chumdwjsrdh"
													class="longtextbox" value="${htinfo.chumdwjsrdh}" />
												</td>
											</tr>
											<tr>
												<td>传真:</td>
												<td><input id="scz" type="text" name="ht.chumdwjsrcz"
													class="longtextbox" value="${htinfo.chumdwjsrcz}" />
												</td>
											</tr>
											<tr>
												<td>邮政编码:</td>
												<td><input id="syb" type="text" name="ht.chumdwjsryzbm"
													class="longtextbox" value="${htinfo.chumdwjsryzbm}" />
												</td>
											</tr>
											<tr>
												<td>开户银行:</td>
												<td><input id="skhyh" type="text"
													name="ht.chumdwjsrkhyh" class="longtextbox"
													value="${htinfo.chumdwjsrkhyh}" />
												</td>
											</tr>
											<tr>
												<td>帐号:</td>
												<td><input id="szh" type="text" name="ht.chumdwjsrzh"
													class="longtextbox" value="${htinfo.chumdwjsrzh}" />
												</td>
											</tr>
											<tr>
												<td>纳税人登记号:</td>
												<td><input id="sdjh" type="text"
													name="ht.chumdwjsrnsrdjh" class="longtextbox"
													value="${htinfo.chumdwjsrnsrdjh}" />
												</td>
											</tr>

										</table></td>
									<td><table cellpadding="0" cellspacing="0" border="0"
											class="content1">
											<tr>
												<td>买受人名称(章)：</td>
												<td><input id="maisr" type="text" class="longtextbox"
													value="${htinfo.maisdwmc}" />
												</td>
											</tr>
											<tr>
												<td>住 所:</td>
												<td><input id="zs" type="text" name="ht.maisdwdz"
													class="longtextbox" value="${htinfo.maisdwdz}" />
												</td>
											</tr>
											<tr>
												<td>法定代表人:</td>
												<td><input id="fddbr" type="text" name="ht.maisdwfddbr"
													class="longtextbox" value="${htinfo.maisdwfddbr}" />
												</td>
											</tr>
											<tr>
												<td>委托代理人:</td>
												<td><input id="wtdlr" type="text" name="ht.maisdwwtdlr"
													class="longtextbox" value="${htinfo.maisdwwtdlr}" />
												</td>
											</tr>
											<tr>
												<td>电 话:</td>
												<td><input id="dh" type="text" name="ht.maisdwdh"
													class="longtextbox" value="${htinfo.maisdwdh}" />
												</td>
											</tr>
											<tr>
												<td>传真:</td>
												<td><input id="cz" type="text" name="ht.maisdwcz"
													class="longtextbox" value="${htinfo.maisdwcz}" />
												</td>
											</tr>
											<tr>
												<td>邮政编码:</td>
												<td><input id="yb" type="text" name="ht.maisdwyzbm"
													class="longtextbox" value="${htinfo.maisdwyzbm}" />
												</td>
											</tr>
											<tr>
												<td>开户银行:</td>
												<td><input id="khyh" type="text" name="ht.maisdwkhyh"
													class="longtextbox" value="${htinfo.maisdwkhyh}" />
												</td>
											</tr>
											<tr>
												<td>帐号:</td>
												<td><input id="zh" type="text" name="ht.maisdwzh"
													class="longtextbox" value="${htinfo.maisdwzh}" />
												</td>
											</tr>
											<tr>
												<td>纳税人登记号:</td>
												<td><input id="djh" type="text" name="ht.maisdwnsrdjh"
													class="longtextbox" value="${htinfo.maisdwnsrdjh}" />
												</td>
											</tr>

										</table></td>
									<td><table cellpadding="0" cellspacing="0" border="0"
											class="content1">
											<tr>
												<td>买受人结算单位名称(章)：</td>
												<td>
													<div class="select">
														<div>
															<select style="width:180px;" id="maisdwjsrbm"
																name="ht.maisdwjsrbm"
																onChange="changeTabForJsdw(this.value,'2')"></select>
														</div>
													</div> <input id="msdwjsrmc" type="hidden" name="ht.maisdwjsrmc"
													value="${htinfo.maisdwjsrmc}">
												</td>
											</tr>
											<tr>
												<td>住 所:</td>
												<td><input id="bzs" type="text" name="ht.maisdwjsrdz"
													class="longtextbox" value="${htinfo.maisdwjsrdz}" />
												</td>
											</tr>
											<tr>
												<td>法定代表人:</td>
												<td><input id="bfddbr" type="text"
													name="ht.maisdwjsrfddbr" class="longtextbox"
													value="${htinfo.maisdwjsrfddbr}" />
												</td>
											</tr>
											<tr>
												<td>委托代理人:</td>
												<td><input id="bwtdlr" type="text"
													name="ht.maisdwjsrwtdlr" class="longtextbox"
													value="${htinfo.maisdwjsrwtdlr}" />
												</td>
											</tr>
											<tr>
												<td>电 话:</td>
												<td><input id="bdh" type="text" name="ht.maisdwjsrdh"
													class="longtextbox" value="${htinfo.maisdwjsrdh}" />
												</td>
											</tr>
											<tr>
												<td>传真:</td>
												<td><input id="bcz" type="text" name="ht.maisdwjsrcz"
													class="longtextbox" value="${htinfo.maisdwjsrcz}" />
												</td>
											</tr>
											<tr>
												<td>邮政编码:</td>
												<td><input id="byb" type="text" name="ht.maisdwjsryzbm"
													class="longtextbox" value="${htinfo.maisdwjsryzbm}" />
												</td>
											</tr>
											<tr>
												<td>开户银行:</td>
												<td><input id="bkhyh" type="text"
													name="ht.maisdwjsrkhyh" class="longtextbox"
													value="${htinfo.maisdwjsrkhyh}" />
												</td>
											</tr>
											<tr>
												<td>帐号:</td>
												<td><input id="bzh" type="text" name="ht.maisdwjsrzh"
													class="longtextbox" value="${htinfo.maisdwjsrzh}" />
												</td>
											</tr>
											<tr>
												<td>纳税人登记号:</td>
												<td><input id="bdjh" type="text"
													name="ht.maisdwjsrnsrdjh" class="longtextbox"
													value="${htinfo.maisdwjsrnsrdjh}" />
												</td>
											</tr>

										</table></td>

								</tr>
							</tbody>
						</table>
					</td>

				</tr>
				<tr>
					<td colspan="4"><font size="2" color="#FF0000"></font></td>
					<td colspan="2" align="right"><font size="2">合同有效期：<input
							id="kssj" type="text" name="ht.youxqxkssj" class="textbox"
							value="${htinfo.youxqxkssj}" readonly /> 至<input id="jssj"
							type="text" class="textbox" name="ht.youxqxjssj"
							value="${htinfo.youxqxjssj}" readonly /> </font></td>
							<input type="hidden" id="cDate" value="${currentDate}">
        <input type="hidden" id="eDate" value="${endDate}">
				</tr>
			
				<tr>
					<td colspan="6" align="center"><input id="but1" type="button"
						name="" value="保存" /> &nbsp;&nbsp;&nbsp; <input id="but2"
						type="button" name="" value="保存并提报给买方" />&nbsp;&nbsp;&nbsp;<input
						id="but3" type="button" name="" value="关闭"
						onClick="window.returnValue=1;window.close();" /></td>
				</tr>
			</table>
			
			<input type="hidden" name="ht.dongzlx" value="3"> <input
				type="hidden" name="ht.dongzbm" value="20">
		</form>
	</div>

	<div id="pzgg" title="品种规格">


		<table cellpadding="0" cellspacing="0" class="content">
			<tr>
				<td>品牌名称：</td>
				<td algin="left"><div class="select">
						<div>
							<s:select id="ppid" headerKey="-1" headerValue="=====请选择====="
								list="ppList" listKey="pinpbh" listValue="pinpmc"
								onchange="changeTabForPinp(this.value)" />
						</div>
					</div> <input type="hidden" id="ppname">
				</td>
			</tr>

			<tr>
				<td colspan="2">
					<table id="mzpz" cellpadding="0" cellspacing="0" class="content">
						<tr>
							<td>煤种:</td>
							<td><div class="select">
									<div>
										<s:select id="mzid" headerKey="%{htinfo.meizbm}"
											headerValue="%{htinfo.meiz}" list="mzList" listKey="diccode"
											listValue="dicname" onchange="changeTabForMeiz();" />
									</div>
								</div> <input type="hidden" id="mzmc" Value="${htinfo.meiz}">
							</td>
							<td>品种:</td>
							<td><div class="select">
									<div>
										<s:select id="pzid" headerKey="%{htinfo.pinzbm}"
											headerValue="%{htinfo.pinz}" list="pzList" listKey="diccode"
											listValue="dicname" onchange="changeTabForPinz();" />
									</div>
								</div> <input type="hidden" id="pzmc" Value="${htinfo.pinz}">
							</td>
						</tr>
					</table>
				</td>
			</tr>

			<tr>
				<td colspan="2">

					<table id="mtzb" cellpadding="0" cellspacing="0" class="content">
						<tr>
							<th>名称</th>
							<th>符号</th>
							<th>上限指标</th>
							<th>下限指标</th>
						</tr>

						<s:iterator value="djzb" status="i">
							<tr>
								<td><c:property name="zhibmc" /><input type="hidden"
									id="zhibbm${i.index}" value="${zhibbm}" /><input type="hidden"
									id="zhibmc${i.index}" value="${zhibmc}" />
								</td>
								<td><c:property name="fuh" /><input type="hidden"
									id="fuh${i.index}" value="${fuh}" />
								</td>
								<td><input type="text" id="xiaxz${i.index}" class="textbox"
									value="${xiaxz}">
								</td>
								<td><input type="text" id="shangxz${i.index}"
									class="textbox" value="${shangxz}">
								</td>
							</tr>
							<input type="hidden" id="sysid${i.index}" value="${sysid}">
						</s:iterator>
					</table>
				</td>
			</tr>

		</table>


	</div>

	<div id="dialog-confirm" title="是否确认提交？"></div>
</body>
</html>

